<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <!--    <link th:href="@{/asserts/css/bootstrap.min.css}" rel="stylesheet" type="text/css"/>-->
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<!--<div class="panel panel-default" style="width: 70%;margin: 20px auto">-->
<!--    <div class="panel-heading">管理员信息查询</div>-->
<!--    <div class="panel-body">-->
<!--        <form method="post" th:action="@{/image/listui}" class="form-inline">-->
<!--            图片名称： <input type="text" name="image_name" class="form-control" th:value="${qb.image_name}"/>-->
<!--            状态：-->
<!--            <select name="manager_status" class="form-control">-->
<!--                <option value="">请选择状态</option>-->
<!--                <option value="已审核" th:selected="${qb.image_status=='已审核'}">已审核</option>-->
<!--                <option value="未审核" th:selected="${qb.image_status=='未审核'}">未审核</option>-->
<!--            </select>-->
<!--            <button type="submit" class="btn btn-info">查询</button>-->

<!--        </form>-->
<!--    </div>-->
<!--</div>-->
<!--<div style="width: 90%;margin: 20px auto;text-align: right">-->
    <a th:href="@{/imagetype/toadd}" class="btn btn-success">增加</a>
<table class="table table-bordered table-hover table-striped table-condensed" style="width: 70%;margin: 20px auto">
    <thead>
    <tr>
        <th>类型id</th>
        <th>类型名称</th>
        <th>操作</th>

    </tr>
    <tbody>
    <!--循环展示管理员
    ${pb.list}:相当于掉用法了pageInfo类型对象的getList方法
    -->

    <tr th:each="imagetype:${qb}">
        <td th:text="${imagetype.type_id}"></td>
        <td th:text="${imagetype.type_name}"></td>
        <td>
            <a  class="btn btn-danger btn-xs" th:href="@{/imagetype/del/}+${imagetype.getType_id()}">删除</a>

            <a  class="btn btn-success btn-xs" th:href="@{/imagetype/toupdate/}+${imagetype.getType_id()}">修改</a>
        </td>
    </tr>
    </tbody>
</table>



<!--<script type="text/javascript" th:src="@{/asserts/js/jquery-1.12.3.min.js}"></script>-->
<!--<script type="text/javascript" th:src="@{/asserts/js/bootstrap.min.js}"></script>-->
</body>
</html>